<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// 应用入口文件

// 检测PHP环境
   
// 亲^_^ 后面不需要任何代码了 就是如此简单
if(!file_exists(dirname(__FILE__).'/Authorization.txt'))
{    
	 header('Location:readme.php');
}
else{
	define('APP_DEBUG',false);
    define('APP_PATH','./Application/');
    require './ThinkPHP/ThinkPHP.php';
}